Speech Services API Version 2025-10-15 (stable:2025-10-15)

2025/10/29 • 67 new methods

Datasets_ListSupportedLocales (new)
Description :  Gets a list of supported locales for datasets.
Reference :  Link ¶

⚼ Request

GET:  /datasets/locales
{
api-version: string ,
}

⚐ Response (200)

{
Language:
[
string ,
]
,
Acoustic:
[
string ,
]
,
Pronunciation:
[
string ,
]
,
AudioFiles:
[
string ,
]
,
LanguageMarkdown:
[
string ,
]
,
OutputFormatting:
[
string ,
]
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Datasets_List (new)
Description :  Gets a list of datasets for the authenticated subscription.
Reference :  Link ¶

⚼ Request

GET:  /datasets
{
skip: integer ,
top: integer ,
filter: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
values:
[
{
self: string ,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
lastActionDateTime: string ,
kind: enum ,
project:
{
self: string ,
}
,
links:
{
files: string ,
commitBlocks: string ,
listBlocks: string ,
uploadBlocks: string ,
}
,
properties:
{
acceptedLineCount: integer ,
rejectedLineCount: integer ,
durationMilliseconds: integer ,
textNormalizationKind: enum ,
error:
{
code: string ,
message: string ,
}
,
}
,
contentUrl: string ,
status: enum ,
}
,
]
,
@nextLink: string ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Datasets_Create (new)
Description :  Uploads and creates a new dataset by getting the data from a specified URL or starts waiting for data blocks to be uploaded.
Reference :  Link ¶

⚼ Request

POST:  /datasets
{
api-version: string ,
dataset:
{
self: string ,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
lastActionDateTime: string ,
kind: enum ,
project:
{
self: string ,
}
,
links:
{
files: string ,
commitBlocks: string ,
listBlocks: string ,
uploadBlocks: string ,
}
,
properties:
{
acceptedLineCount: integer ,
rejectedLineCount: integer ,
durationMilliseconds: integer ,
textNormalizationKind: enum ,
error:
{
code: string ,
message: string ,
}
,
}
,
contentUrl: string ,
status: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
}
,
$schema:
{
self: string ,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
lastActionDateTime: string ,
kind: enum ,
project:
{
self: string ,
}
,
links:
{
files: string ,
commitBlocks: string ,
listBlocks: string ,
uploadBlocks: string ,
}
,
properties:
{
acceptedLineCount: integer ,
rejectedLineCount: integer ,
durationMilliseconds: integer ,
textNormalizationKind: enum ,
error:
{
code: string ,
message: string ,
}
,
}
,
contentUrl: string ,
status: enum ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Datasets_Get (new)
Description :  Gets the dataset identified by the given ID.
Reference :  Link ¶

⚼ Request

GET:  /datasets/{id}
{
id: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
self: string ,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
lastActionDateTime: string ,
kind: enum ,
project:
{
self: string ,
}
,
links:
{
files: string ,
commitBlocks: string ,
listBlocks: string ,
uploadBlocks: string ,
}
,
properties:
{
acceptedLineCount: integer ,
rejectedLineCount: integer ,
durationMilliseconds: integer ,
textNormalizationKind: enum ,
error:
{
code: string ,
message: string ,
}
,
}
,
contentUrl: string ,
status: enum ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Datasets_Update (new)
Description :  Updates the mutable details of the dataset identified by its ID.
Reference :  Link ¶

⚼ Request

PATCH:  /datasets/{id}
{
id: string ,
api-version: string ,
datasetUpdate:
{
displayName: string ,
description: string ,
project:
{
self: string ,
}
,
customProperties: object ,
}
,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
self: string ,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
lastActionDateTime: string ,
kind: enum ,
project:
{
self: string ,
}
,
links:
{
files: string ,
commitBlocks: string ,
listBlocks: string ,
uploadBlocks: string ,
}
,
properties:
{
acceptedLineCount: integer ,
rejectedLineCount: integer ,
durationMilliseconds: integer ,
textNormalizationKind: enum ,
error:
{
code: string ,
message: string ,
}
,
}
,
contentUrl: string ,
status: enum ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Datasets_Delete (new)
Description :  Deletes the specified dataset.
Reference :  Link ¶

⚼ Request

DELETE:  /datasets/{id}
{
id: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Datasets_GetBlocks (new)
Description :  Gets the list of uploaded blocks for this dataset.
Reference :  Link ¶

⚼ Request

GET:  /datasets/{id}/blocks
{
id: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
committedBlocks:
[
{
name: string ,
size: integer ,
}
,
]
,
uncommittedBlocks:
[
{
name: string ,
size: integer ,
}
,
]
,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Datasets_UploadBlock (new)
Description :  Upload a block of data for the dataset. The maximum size of the block is 8MiB.
Reference :  Link ¶

⚼ Request

PUT:  /datasets/{id}/blocks
{
id: string ,
blockid: string ,
api-version: string ,
body: string ,
}

⚐ Response (201)

{}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Datasets_CommitBlocks (new)
Description :  Commit block list to complete the upload of the dataset.
Reference :  Link ¶

⚼ Request

POST:  /datasets/{id}/blocks:commit
{
id: string ,
api-version: string ,
blockList:
{
kind: enum ,
id: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Datasets_ListFiles (new)
Description :  Gets the files of the dataset identified by the given ID.
Reference :  Link ¶

⚼ Request

GET:  /datasets/{id}/files
{
id: string ,
sasLifetimeMinutes: integer ,
skip: integer ,
top: integer ,
filter: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
values:
[
{
self: string ,
name: string ,
kind: enum ,
links:
{
contentUrl: string ,
}
,
properties:
{
size: integer ,
durationMilliseconds: integer ,
}
,
createdDateTime: string ,
}
,
]
,
@nextLink: string ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Datasets_GetFile (new)
Description :  Gets one specific file (identified with fileId) from a dataset (identified with id).
Reference :  Link ¶

⚼ Request

GET:  /datasets/{id}/files/{fileId}
{
id: string ,
fileId: string ,
sasLifetimeMinutes: integer ,
api-version: string ,
}

⚐ Response (200)

{
self: string ,
name: string ,
kind: enum ,
links:
{
contentUrl: string ,
}
,
properties:
{
size: integer ,
durationMilliseconds: integer ,
}
,
createdDateTime: string ,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Endpoints_ListSupportedLocales (new)
Description :  Gets a list of supported locales for endpoint creations.
Reference :  Link ¶

⚼ Request

GET:  /endpoints/locales
{
api-version: string ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Endpoints_List (new)
Description :  Gets the list of endpoints for the authenticated subscription.
Reference :  Link ¶

⚼ Request

GET:  /endpoints
{
skip: integer ,
top: integer ,
filter: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
values:
[
{
self: string ,
model:
{
self: string ,
}
,
project:
{
self: string ,
}
,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
lastActionDateTime: string ,
properties:
{
loggingEnabled: boolean ,
error:
{
code: string ,
message: string ,
}
,
}
,
links:
{
webSocket: string ,
}
,
status: enum ,
}
,
]
,
@nextLink: string ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Endpoints_Create (new)
Description :  Creates a new endpoint.
Reference :  Link ¶

⚼ Request

POST:  /endpoints
{
api-version: string ,
endpoint:
{
self: string ,
model:
{
self: string ,
}
,
project:
{
self: string ,
}
,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
lastActionDateTime: string ,
properties:
{
loggingEnabled: boolean ,
error:
{
code: string ,
message: string ,
}
,
}
,
links:
{
webSocket: string ,
}
,
status: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
}
,
$schema:
{
self: string ,
model:
{
self: string ,
}
,
project:
{
self: string ,
}
,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
lastActionDateTime: string ,
properties:
{
loggingEnabled: boolean ,
error:
{
code: string ,
message: string ,
}
,
}
,
links:
{
webSocket: string ,
}
,
status: enum ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Endpoints_Get (new)
Description :  Gets the endpoint identified by the given ID.
Reference :  Link ¶

⚼ Request

GET:  /endpoints/{id}
{
id: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
self: string ,
model:
{
self: string ,
}
,
project:
{
self: string ,
}
,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
lastActionDateTime: string ,
properties:
{
loggingEnabled: boolean ,
error:
{
code: string ,
message: string ,
}
,
}
,
links:
{
webSocket: string ,
}
,
status: enum ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Endpoints_Delete (new)
Description :  Deletes the endpoint identified by the given ID.
Reference :  Link ¶

⚼ Request

DELETE:  /endpoints/{id}
{
id: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Endpoints_Update (new)
Description :  Updates the metadata of the endpoint identified by the given ID.
Reference :  Link ¶

⚼ Request

PATCH:  /endpoints/{id}
{
id: string ,
api-version: string ,
endpointUpdate:
{
displayName: string ,
description: string ,
model:
{
self: string ,
}
,
properties:
{
contentLoggingEnabled: boolean ,
}
,
project:
{
self: string ,
}
,
customProperties: object ,
}
,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
self: string ,
model:
{
self: string ,
}
,
project:
{
self: string ,
}
,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
lastActionDateTime: string ,
properties:
{
loggingEnabled: boolean ,
error:
{
code: string ,
message: string ,
}
,
}
,
links:
{
webSocket: string ,
}
,
status: enum ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Evaluations_ListSupportedLocales (new)
Description :  Gets a list of supported locales for evaluations.
Reference :  Link ¶

⚼ Request

GET:  /evaluations/locales
{
api-version: string ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Evaluations_List (new)
Description :  Gets the list of evaluations for the authenticated subscription.
Reference :  Link ¶

⚼ Request

GET:  /evaluations
{
skip: integer ,
top: integer ,
filter: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
values:
[
{
displayName: string ,
description: string ,
customProperties: object ,
self: string ,
createdDateTime: string ,
lastActionDateTime: string ,
model1:
{
self: string ,
}
,
model2:
{
self: string ,
}
,
dataset:
{
self: string ,
}
,
transcription1:
{
self: string ,
}
,
transcription2:
{
self: string ,
}
,
project:
{
self: string ,
}
,
links:
{
files: string ,
}
,
locale: string ,
properties:
{
wordErrorRate1: number ,
sentenceErrorRate1: number ,
tokenErrorRate1: number ,
sentenceCount1: integer ,
wordCount1: integer ,
correctWordCount1: integer ,
wordSubstitutionCount1: integer ,
wordDeletionCount1: integer ,
wordInsertionCount1: integer ,
tokenCount1: integer ,
correctTokenCount1: integer ,
tokenSubstitutionCount1: integer ,
tokenDeletionCount1: integer ,
tokenInsertionCount1: integer ,
tokenErrors1:
{
punctuation:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
capitalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
inverseTextNormalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
lexical:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
others:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
}
,
wordErrorRate2: number ,
sentenceErrorRate2: number ,
tokenErrorRate2: number ,
sentenceCount2: integer ,
wordCount2: integer ,
correctWordCount2: integer ,
wordSubstitutionCount2: integer ,
wordDeletionCount2: integer ,
wordInsertionCount2: integer ,
tokenCount2: integer ,
correctTokenCount2: integer ,
tokenSubstitutionCount2: integer ,
tokenDeletionCount2: integer ,
tokenInsertionCount2: integer ,
tokenErrors2:
{
punctuation:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
capitalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
inverseTextNormalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
lexical:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
others:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
}
,
error:
{
code: string ,
message: string ,
}
,
}
,
status: enum ,
}
,
]
,
@nextLink: string ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Evaluations_Create (new)
Description :  Creates a new evaluation.
Reference :  Link ¶

⚼ Request

POST:  /evaluations
{
api-version: string ,
evaluation:
{
displayName: string ,
description: string ,
customProperties: object ,
self: string ,
createdDateTime: string ,
lastActionDateTime: string ,
model1:
{
self: string ,
}
,
model2:
{
self: string ,
}
,
dataset:
{
self: string ,
}
,
transcription1:
{
self: string ,
}
,
transcription2:
{
self: string ,
}
,
project:
{
self: string ,
}
,
links:
{
files: string ,
}
,
locale: string ,
properties:
{
wordErrorRate1: number ,
sentenceErrorRate1: number ,
tokenErrorRate1: number ,
sentenceCount1: integer ,
wordCount1: integer ,
correctWordCount1: integer ,
wordSubstitutionCount1: integer ,
wordDeletionCount1: integer ,
wordInsertionCount1: integer ,
tokenCount1: integer ,
correctTokenCount1: integer ,
tokenSubstitutionCount1: integer ,
tokenDeletionCount1: integer ,
tokenInsertionCount1: integer ,
tokenErrors1:
{
punctuation:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
capitalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
inverseTextNormalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
lexical:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
others:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
}
,
wordErrorRate2: number ,
sentenceErrorRate2: number ,
tokenErrorRate2: number ,
sentenceCount2: integer ,
wordCount2: integer ,
correctWordCount2: integer ,
wordSubstitutionCount2: integer ,
wordDeletionCount2: integer ,
wordInsertionCount2: integer ,
tokenCount2: integer ,
correctTokenCount2: integer ,
tokenSubstitutionCount2: integer ,
tokenDeletionCount2: integer ,
tokenInsertionCount2: integer ,
tokenErrors2:
{
punctuation:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
capitalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
inverseTextNormalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
lexical:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
others:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
}
,
error:
{
code: string ,
message: string ,
}
,
}
,
status: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
}
,
$schema:
{
displayName: string ,
description: string ,
customProperties: object ,
self: string ,
createdDateTime: string ,
lastActionDateTime: string ,
model1:
{
self: string ,
}
,
model2:
{
self: string ,
}
,
dataset:
{
self: string ,
}
,
transcription1:
{
self: string ,
}
,
transcription2:
{
self: string ,
}
,
project:
{
self: string ,
}
,
links:
{
files: string ,
}
,
locale: string ,
properties:
{
wordErrorRate1: number ,
sentenceErrorRate1: number ,
tokenErrorRate1: number ,
sentenceCount1: integer ,
wordCount1: integer ,
correctWordCount1: integer ,
wordSubstitutionCount1: integer ,
wordDeletionCount1: integer ,
wordInsertionCount1: integer ,
tokenCount1: integer ,
correctTokenCount1: integer ,
tokenSubstitutionCount1: integer ,
tokenDeletionCount1: integer ,
tokenInsertionCount1: integer ,
tokenErrors1:
{
punctuation:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
capitalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
inverseTextNormalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
lexical:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
others:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
}
,
wordErrorRate2: number ,
sentenceErrorRate2: number ,
tokenErrorRate2: number ,
sentenceCount2: integer ,
wordCount2: integer ,
correctWordCount2: integer ,
wordSubstitutionCount2: integer ,
wordDeletionCount2: integer ,
wordInsertionCount2: integer ,
tokenCount2: integer ,
correctTokenCount2: integer ,
tokenSubstitutionCount2: integer ,
tokenDeletionCount2: integer ,
tokenInsertionCount2: integer ,
tokenErrors2:
{
punctuation:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
capitalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
inverseTextNormalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
lexical:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
others:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
}
,
error:
{
code: string ,
message: string ,
}
,
}
,
status: enum ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Evaluations_ListFiles (new)
Description :  Gets the files of the evaluation identified by the given ID.
Reference :  Link ¶

⚼ Request

GET:  /evaluations/{id}/files
{
id: string ,
sasLifetimeMinutes: integer ,
skip: integer ,
top: integer ,
filter: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
values:
[
{
self: string ,
name: string ,
kind: enum ,
links:
{
contentUrl: string ,
}
,
properties:
{
size: integer ,
durationMilliseconds: integer ,
}
,
createdDateTime: string ,
}
,
]
,
@nextLink: string ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Evaluations_GetFile (new)
Description :  Gets one specific file (identified with fileId) from an evaluation (identified with id).
Reference :  Link ¶

⚼ Request

GET:  /evaluations/{id}/files/{fileId}
{
id: string ,
fileId: string ,
sasLifetimeMinutes: integer ,
api-version: string ,
}

⚐ Response (200)

{
self: string ,
name: string ,
kind: enum ,
links:
{
contentUrl: string ,
}
,
properties:
{
size: integer ,
durationMilliseconds: integer ,
}
,
createdDateTime: string ,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Evaluations_Get (new)
Description :  Gets the evaluation identified by the given ID.
Reference :  Link ¶

⚼ Request

GET:  /evaluations/{id}
{
id: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
displayName: string ,
description: string ,
customProperties: object ,
self: string ,
createdDateTime: string ,
lastActionDateTime: string ,
model1:
{
self: string ,
}
,
model2:
{
self: string ,
}
,
dataset:
{
self: string ,
}
,
transcription1:
{
self: string ,
}
,
transcription2:
{
self: string ,
}
,
project:
{
self: string ,
}
,
links:
{
files: string ,
}
,
locale: string ,
properties:
{
wordErrorRate1: number ,
sentenceErrorRate1: number ,
tokenErrorRate1: number ,
sentenceCount1: integer ,
wordCount1: integer ,
correctWordCount1: integer ,
wordSubstitutionCount1: integer ,
wordDeletionCount1: integer ,
wordInsertionCount1: integer ,
tokenCount1: integer ,
correctTokenCount1: integer ,
tokenSubstitutionCount1: integer ,
tokenDeletionCount1: integer ,
tokenInsertionCount1: integer ,
tokenErrors1:
{
punctuation:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
capitalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
inverseTextNormalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
lexical:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
others:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
}
,
wordErrorRate2: number ,
sentenceErrorRate2: number ,
tokenErrorRate2: number ,
sentenceCount2: integer ,
wordCount2: integer ,
correctWordCount2: integer ,
wordSubstitutionCount2: integer ,
wordDeletionCount2: integer ,
wordInsertionCount2: integer ,
tokenCount2: integer ,
correctTokenCount2: integer ,
tokenSubstitutionCount2: integer ,
tokenDeletionCount2: integer ,
tokenInsertionCount2: integer ,
tokenErrors2:
{
punctuation:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
capitalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
inverseTextNormalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
lexical:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
others:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
}
,
error:
{
code: string ,
message: string ,
}
,
}
,
status: enum ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Evaluations_Update (new)
Description :  Updates the mutable details of the evaluation identified by its id.
Reference :  Link ¶

⚼ Request

PATCH:  /evaluations/{id}
{
id: string ,
api-version: string ,
evaluationUpdate:
{
displayName: string ,
description: string ,
project:
{
self: string ,
}
,
customProperties: object ,
}
,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
displayName: string ,
description: string ,
customProperties: object ,
self: string ,
createdDateTime: string ,
lastActionDateTime: string ,
model1:
{
self: string ,
}
,
model2:
{
self: string ,
}
,
dataset:
{
self: string ,
}
,
transcription1:
{
self: string ,
}
,
transcription2:
{
self: string ,
}
,
project:
{
self: string ,
}
,
links:
{
files: string ,
}
,
locale: string ,
properties:
{
wordErrorRate1: number ,
sentenceErrorRate1: number ,
tokenErrorRate1: number ,
sentenceCount1: integer ,
wordCount1: integer ,
correctWordCount1: integer ,
wordSubstitutionCount1: integer ,
wordDeletionCount1: integer ,
wordInsertionCount1: integer ,
tokenCount1: integer ,
correctTokenCount1: integer ,
tokenSubstitutionCount1: integer ,
tokenDeletionCount1: integer ,
tokenInsertionCount1: integer ,
tokenErrors1:
{
punctuation:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
capitalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
inverseTextNormalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
lexical:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
others:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
}
,
wordErrorRate2: number ,
sentenceErrorRate2: number ,
tokenErrorRate2: number ,
sentenceCount2: integer ,
wordCount2: integer ,
correctWordCount2: integer ,
wordSubstitutionCount2: integer ,
wordDeletionCount2: integer ,
wordInsertionCount2: integer ,
tokenCount2: integer ,
correctTokenCount2: integer ,
tokenSubstitutionCount2: integer ,
tokenDeletionCount2: integer ,
tokenInsertionCount2: integer ,
tokenErrors2:
{
punctuation:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
capitalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
inverseTextNormalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
lexical:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
others:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
}
,
error:
{
code: string ,
message: string ,
}
,
}
,
status: enum ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Evaluations_Delete (new)
Description :  Deletes the evaluation identified by the given ID.
Reference :  Link ¶

⚼ Request

DELETE:  /evaluations/{id}
{
id: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Models_ListSupportedLocales (new)
Description :  Gets a list of supported locales for model adaptation.
Reference :  Link ¶

⚼ Request

GET:  /models/locales
{
api-version: string ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Models_ListCustomModels (new)
Description :  Gets the list of custom models for the authenticated subscription.
Reference :  Link ¶

⚼ Request

GET:  /models
{
skip: integer ,
top: integer ,
filter: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
values:
[
{
customProperties: object ,
baseModel:
{
self: string ,
}
,
datasets:
[
{
self: string ,
}
,
]
,
project:
{
self: string ,
}
,
links:
{
manifest: string ,
copy: string ,
files: string ,
}
,
properties:
{
deprecationDates:
{
transcriptionDateTime: string ,
}
,
customModelWeightPercent: integer ,
features: object ,
error:
{
code: string ,
message: string ,
}
,
}
,
}
,
]
,
@nextLink: string ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Models_Create (new)
Description :  Creates a new model.
Reference :  Link ¶

⚼ Request

POST:  /models
{
api-version: string ,
model:
{
customProperties: object ,
baseModel:
{
self: string ,
}
,
datasets:
[
{
self: string ,
}
,
]
,
project:
{
self: string ,
}
,
links:
{
manifest: string ,
copy: string ,
files: string ,
}
,
properties:
{
deprecationDates:
{
transcriptionDateTime: string ,
}
,
customModelWeightPercent: integer ,
features: object ,
error:
{
code: string ,
message: string ,
}
,
}
,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
}
,
$schema:
{
customProperties: object ,
baseModel:
{
self: string ,
}
,
datasets:
[
{
self: string ,
}
,
]
,
project:
{
self: string ,
}
,
links:
{
manifest: string ,
copy: string ,
files: string ,
}
,
properties:
{
deprecationDates:
{
transcriptionDateTime: string ,
}
,
customModelWeightPercent: integer ,
features: object ,
error:
{
code: string ,
message: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Models_ListBaseModels (new)
Description :  Gets the list of base models for the authenticated subscription.
Reference :  Link ¶

⚼ Request

GET:  /models/base
{
skip: integer ,
top: integer ,
filter: string ,
api-version: string ,
}

⚐ Response (200)

{
values:
[
{
links:
{
manifest: string ,
}
,
properties:
{
deprecationDates:
{
adaptationDateTime: string ,
transcriptionDateTime: string ,
}
,
features:
{
supportsAdaptationsWith:
[
string ,
]
,
}
,
chargeForAdaptation: boolean ,
}
,
}
,
]
,
@nextLink: string ,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Models_GetCustomModel (new)
Description :  Gets the model identified by the given ID.
Reference :  Link ¶

⚼ Request

GET:  /models/{id}
{
id: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
customProperties: object ,
baseModel:
{
self: string ,
}
,
datasets:
[
{
self: string ,
}
,
]
,
project:
{
self: string ,
}
,
links:
{
manifest: string ,
copy: string ,
files: string ,
}
,
properties:
{
deprecationDates:
{
transcriptionDateTime: string ,
}
,
customModelWeightPercent: integer ,
features: object ,
error:
{
code: string ,
message: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Models_Update (new)
Description :  Updates the metadata of the model identified by the given ID.
Reference :  Link ¶

⚼ Request

PATCH:  /models/{id}
{
id: string ,
api-version: string ,
modelUpdate:
{
displayName: string ,
description: string ,
project:
{
self: string ,
}
,
customProperties: object ,
}
,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
customProperties: object ,
baseModel:
{
self: string ,
}
,
datasets:
[
{
self: string ,
}
,
]
,
project:
{
self: string ,
}
,
links:
{
manifest: string ,
copy: string ,
files: string ,
}
,
properties:
{
deprecationDates:
{
transcriptionDateTime: string ,
}
,
customModelWeightPercent: integer ,
features: object ,
error:
{
code: string ,
message: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Models_Delete (new)
Description :  Deletes the model identified by the given ID.
Reference :  Link ¶

⚼ Request

DELETE:  /models/{id}
{
id: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Models_GetBaseModel (new)
Description :  Gets the base model identified by the given ID.
Reference :  Link ¶

⚼ Request

GET:  /models/base/{id}
{
id: string ,
api-version: string ,
}

⚐ Response (200)

{
links:
{
manifest: string ,
}
,
properties:
{
deprecationDates:
{
adaptationDateTime: string ,
transcriptionDateTime: string ,
}
,
features:
{
supportsAdaptationsWith:
[
string ,
]
,
}
,
chargeForAdaptation: boolean ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Models_Copy (new)
Description :  This method can be used to copy a model from this speech resource to a target one. The authorization is obtained on the target speech resource. Only custom models can be copied to another speech resource.
Reference :  Link ¶

⚼ Request

POST:  /models/{id}:copy
{
id: string ,
api-version: string ,
modelCopyAuthorization:
{
targetResourceRegion: string ,
targetResourceId: string ,
targetResourceEndpoint: string ,
sourceResourceId: string ,
expirationDateTime: string ,
id: string ,
}
,
}

⚐ Response (202)

{
$headers:
{
retry-after: integer ,
operation-location: string ,
}
,
$schema:
{
id: string ,
self: string ,
createdDateTime: string ,
lastActionDateTime: string ,
status: enum ,
result:
{
link: string ,
}
,
error:
{
code: string ,
message: string ,
}
,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Models_AuthorizeCopy (new)
Description :  This method can be used to allow copying a model from another speech resource. Only custom models can be copied from another speech resource.
Reference :  Link ¶

⚼ Request

POST:  /models:authorizecopy
{
api-version: string ,
modelCopyAuthorizationDefinition:
{
sourceResourceId: string ,
}
,
}

⚐ Response (200)

{
targetResourceRegion: string ,
targetResourceId: string ,
targetResourceEndpoint: string ,
sourceResourceId: string ,
expirationDateTime: string ,
id: string ,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Models_GetCustomModelManifest (new)
Description :  Returns an manifest for this model which can be used in an on-premise container.
Reference :  Link ¶

⚼ Request

GET:  /models/{id}/manifest
{
id: string ,
sasLifetimeMinutes: integer ,
api-version: string ,
}

⚐ Response (200)

{
model:
{
self: string ,
}
,
modelFiles:
[
{
name: string ,
contentUrl: string ,
}
,
]
,
properties: object ,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Models_GetBaseModelManifest (new)
Description :  Returns an manifest for this base model which can be used in an on-premise container.
Reference :  Link ¶

⚼ Request

GET:  /models/base/{id}/manifest
{
id: string ,
sasLifetimeMinutes: integer ,
api-version: string ,
}

⚐ Response (200)

{
model:
{
self: string ,
}
,
modelFiles:
[
{
name: string ,
contentUrl: string ,
}
,
]
,
properties: object ,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Models_ListFiles (new)
Description :  Gets the files of the model identified by the given ID.
Reference :  Link ¶

⚼ Request

GET:  /models/{id}/files
{
id: string ,
sasLifetimeMinutes: integer ,
skip: integer ,
top: integer ,
filter: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
values:
[
{
self: string ,
name: string ,
kind: enum ,
links:
{
contentUrl: string ,
}
,
properties:
{
size: integer ,
durationMilliseconds: integer ,
}
,
createdDateTime: string ,
}
,
]
,
@nextLink: string ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Models_GetFile (new)
Description :  Gets one specific file (identified with fileId) from a model (identified with id).
Reference :  Link ¶

⚼ Request

GET:  /models/{id}/files/{fileId}
{
id: string ,
fileId: string ,
sasLifetimeMinutes: integer ,
api-version: string ,
}

⚐ Response (200)

{
self: string ,
name: string ,
kind: enum ,
links:
{
contentUrl: string ,
}
,
properties:
{
size: integer ,
durationMilliseconds: integer ,
}
,
createdDateTime: string ,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Operations_GetModelCopy (new)
Description :  Gets the operation identified by the given ID.
Reference :  Link ¶

⚼ Request

GET:  /operations/models/copy/{id}
{
id: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
id: string ,
self: string ,
createdDateTime: string ,
lastActionDateTime: string ,
status: enum ,
result:
{
link: string ,
}
,
error:
{
code: string ,
message: string ,
}
,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Projects_ListSupportedLocales (new)
Description :  Gets the list of supported locales.
Reference :  Link ¶

⚼ Request

GET:  /projects/locales
{
api-version: string ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Projects_List (new)
Description :  Gets the list of projects for the authenticated subscription.
Reference :  Link ¶

⚼ Request

GET:  /projects
{
skip: integer ,
top: integer ,
filter: string ,
api-version: string ,
}

⚐ Response (200)

{
values:
[
{
self: string ,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
links:
{
evaluations: string ,
datasets: string ,
models: string ,
endpoints: string ,
transcriptions: string ,
}
,
foundryProjectName: string ,
}
,
]
,
@nextLink: string ,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Projects_Create (new)
Description :  Creates a new project.
Reference :  Link ¶

⚼ Request

POST:  /projects
{
api-version: string ,
project:
{
self: string ,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
links:
{
evaluations: string ,
datasets: string ,
models: string ,
endpoints: string ,
transcriptions: string ,
}
,
foundryProjectName: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
}
,
$schema:
{
self: string ,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
links:
{
evaluations: string ,
datasets: string ,
models: string ,
endpoints: string ,
transcriptions: string ,
}
,
foundryProjectName: string ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Projects_Get (new)
Description :  Gets the project identified by the given ID.
Reference :  Link ¶

⚼ Request

GET:  /projects/{id}
{
id: string ,
api-version: string ,
}

⚐ Response (200)

{
self: string ,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
links:
{
evaluations: string ,
datasets: string ,
models: string ,
endpoints: string ,
transcriptions: string ,
}
,
foundryProjectName: string ,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Projects_Update (new)
Description :  Updates the project identified by the given ID.
Reference :  Link ¶

⚼ Request

PATCH:  /projects/{id}
{
id: string ,
api-version: string ,
projectUpdate:
{
displayName: string ,
description: string ,
customProperties: object ,
foundryProjectName: string ,
}
,
}

⚐ Response (200)

{
self: string ,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
links:
{
evaluations: string ,
datasets: string ,
models: string ,
endpoints: string ,
transcriptions: string ,
}
,
foundryProjectName: string ,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Projects_Delete (new)
Description :  Deletes the project identified by the given ID.
Reference :  Link ¶

⚼ Request

DELETE:  /projects/{id}
{
id: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Projects_ListEvaluations (new)
Description :  Gets the list of evaluations for specified project.
Reference :  Link ¶

⚼ Request

GET:  /projects/{id}/evaluations
{
id: string ,
skip: integer ,
top: integer ,
filter: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
values:
[
{
displayName: string ,
description: string ,
customProperties: object ,
self: string ,
createdDateTime: string ,
lastActionDateTime: string ,
model1:
{
self: string ,
}
,
model2:
{
self: string ,
}
,
dataset:
{
self: string ,
}
,
transcription1:
{
self: string ,
}
,
transcription2:
{
self: string ,
}
,
project:
{
self: string ,
}
,
links:
{
files: string ,
}
,
locale: string ,
properties:
{
wordErrorRate1: number ,
sentenceErrorRate1: number ,
tokenErrorRate1: number ,
sentenceCount1: integer ,
wordCount1: integer ,
correctWordCount1: integer ,
wordSubstitutionCount1: integer ,
wordDeletionCount1: integer ,
wordInsertionCount1: integer ,
tokenCount1: integer ,
correctTokenCount1: integer ,
tokenSubstitutionCount1: integer ,
tokenDeletionCount1: integer ,
tokenInsertionCount1: integer ,
tokenErrors1:
{
punctuation:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
capitalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
inverseTextNormalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
lexical:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
others:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
}
,
wordErrorRate2: number ,
sentenceErrorRate2: number ,
tokenErrorRate2: number ,
sentenceCount2: integer ,
wordCount2: integer ,
correctWordCount2: integer ,
wordSubstitutionCount2: integer ,
wordDeletionCount2: integer ,
wordInsertionCount2: integer ,
tokenCount2: integer ,
correctTokenCount2: integer ,
tokenSubstitutionCount2: integer ,
tokenDeletionCount2: integer ,
tokenInsertionCount2: integer ,
tokenErrors2:
{
punctuation:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
capitalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
inverseTextNormalization:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
lexical:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
others:
{
numberOfEdits: integer ,
percentageOfAllEdits: number ,
}
,
}
,
error:
{
code: string ,
message: string ,
}
,
}
,
status: enum ,
}
,
]
,
@nextLink: string ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Projects_ListDatasets (new)
Description :  Gets the list of datasets for specified project.
Reference :  Link ¶

⚼ Request

GET:  /projects/{id}/datasets
{
id: string ,
skip: integer ,
top: integer ,
filter: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
values:
[
{
self: string ,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
lastActionDateTime: string ,
kind: enum ,
project:
{
self: string ,
}
,
links:
{
files: string ,
commitBlocks: string ,
listBlocks: string ,
uploadBlocks: string ,
}
,
properties:
{
acceptedLineCount: integer ,
rejectedLineCount: integer ,
durationMilliseconds: integer ,
textNormalizationKind: enum ,
error:
{
code: string ,
message: string ,
}
,
}
,
contentUrl: string ,
status: enum ,
}
,
]
,
@nextLink: string ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Projects_ListEndpoints (new)
Description :  Gets the list of endpoints for specified project.
Reference :  Link ¶

⚼ Request

GET:  /projects/{id}/endpoints
{
id: string ,
skip: integer ,
top: integer ,
filter: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
values:
[
{
self: string ,
model:
{
self: string ,
}
,
project:
{
self: string ,
}
,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
lastActionDateTime: string ,
properties:
{
loggingEnabled: boolean ,
error:
{
code: string ,
message: string ,
}
,
}
,
links:
{
webSocket: string ,
}
,
status: enum ,
}
,
]
,
@nextLink: string ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Projects_ListModels (new)
Description :  Gets the list of models for specified project.
Reference :  Link ¶

⚼ Request

GET:  /projects/{id}/models
{
id: string ,
skip: integer ,
top: integer ,
filter: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
values:
[
{
customProperties: object ,
baseModel:
{
self: string ,
}
,
datasets:
[
{
self: string ,
}
,
]
,
project:
{
self: string ,
}
,
links:
{
manifest: string ,
copy: string ,
files: string ,
}
,
properties:
{
deprecationDates:
{
transcriptionDateTime: string ,
}
,
customModelWeightPercent: integer ,
features: object ,
error:
{
code: string ,
message: string ,
}
,
}
,
}
,
]
,
@nextLink: string ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Projects_ListTranscriptions (new)
Description :  Gets the list of transcriptions for specified project.
Reference :  Link ¶

⚼ Request

GET:  /projects/{id}/transcriptions
{
id: string ,
skip: integer ,
top: integer ,
filter: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
values:
[
{
self: string ,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
lastActionDateTime: string ,
contentUrls:
[
string ,
]
,
model:
{
self: string ,
}
,
project:
{
self: string ,
}
,
links:
{
files: string ,
}
,
properties:
{
wordLevelTimestampsEnabled: boolean ,
displayFormWordLevelTimestampsEnabled: boolean ,
channels:
[
integer ,
]
,
punctuationMode: enum ,
profanityFilterMode: enum ,
destinationContainerUrl: string ,
timeToLiveHours: integer ,
languageIdentification:
{
candidateLocales:
[
string ,
]
,
speechModelMapping: object ,
mode: enum ,
}
,
diarization:
{
enabled: boolean ,
maxSpeakers: integer ,
}
,
error:
{
code: string ,
message: string ,
}
,
durationMilliseconds: integer ,
}
,
contentContainerUrl: string ,
dataset:
{
self: string ,
}
,
status: enum ,
}
,
]
,
@nextLink: string ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Transcriptions_ListSupportedLocales (new)
Description :  Gets a list of supported locales for offline transcriptions.
Reference :  Link ¶

⚼ Request

GET:  /transcriptions/locales
{
api-version: string ,
}

⚐ Response (200)

{
Transcribe:
[
string ,
]
,
Submit:
[
string ,
]
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Transcriptions_List (new)
Description :  Gets a list of transcriptions for the authenticated subscription.
Reference :  Link ¶

⚼ Request

GET:  /transcriptions
{
skip: integer ,
top: integer ,
filter: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
values:
[
{
self: string ,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
lastActionDateTime: string ,
contentUrls:
[
string ,
]
,
model:
{
self: string ,
}
,
project:
{
self: string ,
}
,
links:
{
files: string ,
}
,
properties:
{
wordLevelTimestampsEnabled: boolean ,
displayFormWordLevelTimestampsEnabled: boolean ,
channels:
[
integer ,
]
,
punctuationMode: enum ,
profanityFilterMode: enum ,
destinationContainerUrl: string ,
timeToLiveHours: integer ,
languageIdentification:
{
candidateLocales:
[
string ,
]
,
speechModelMapping: object ,
mode: enum ,
}
,
diarization:
{
enabled: boolean ,
maxSpeakers: integer ,
}
,
error:
{
code: string ,
message: string ,
}
,
durationMilliseconds: integer ,
}
,
contentContainerUrl: string ,
dataset:
{
self: string ,
}
,
status: enum ,
}
,
]
,
@nextLink: string ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Transcriptions_Get (new)
Description :  Gets the transcription identified by the given ID.
Reference :  Link ¶

⚼ Request

GET:  /transcriptions/{id}
{
id: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
self: string ,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
lastActionDateTime: string ,
contentUrls:
[
string ,
]
,
model:
{
self: string ,
}
,
project:
{
self: string ,
}
,
links:
{
files: string ,
}
,
properties:
{
wordLevelTimestampsEnabled: boolean ,
displayFormWordLevelTimestampsEnabled: boolean ,
channels:
[
integer ,
]
,
punctuationMode: enum ,
profanityFilterMode: enum ,
destinationContainerUrl: string ,
timeToLiveHours: integer ,
languageIdentification:
{
candidateLocales:
[
string ,
]
,
speechModelMapping: object ,
mode: enum ,
}
,
diarization:
{
enabled: boolean ,
maxSpeakers: integer ,
}
,
error:
{
code: string ,
message: string ,
}
,
durationMilliseconds: integer ,
}
,
contentContainerUrl: string ,
dataset:
{
self: string ,
}
,
status: enum ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Transcriptions_Update (new)
Description :  Updates the mutable details of the transcription identified by its ID.
Reference :  Link ¶

⚼ Request

PATCH:  /transcriptions/{id}
{
id: string ,
api-version: string ,
transcriptionUpdate:
{
displayName: string ,
description: string ,
project:
{
self: string ,
}
,
customProperties: object ,
}
,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
self: string ,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
lastActionDateTime: string ,
contentUrls:
[
string ,
]
,
model:
{
self: string ,
}
,
project:
{
self: string ,
}
,
links:
{
files: string ,
}
,
properties:
{
wordLevelTimestampsEnabled: boolean ,
displayFormWordLevelTimestampsEnabled: boolean ,
channels:
[
integer ,
]
,
punctuationMode: enum ,
profanityFilterMode: enum ,
destinationContainerUrl: string ,
timeToLiveHours: integer ,
languageIdentification:
{
candidateLocales:
[
string ,
]
,
speechModelMapping: object ,
mode: enum ,
}
,
diarization:
{
enabled: boolean ,
maxSpeakers: integer ,
}
,
error:
{
code: string ,
message: string ,
}
,
durationMilliseconds: integer ,
}
,
contentContainerUrl: string ,
dataset:
{
self: string ,
}
,
status: enum ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Transcriptions_Delete (new)
Description :  Deletes the specified transcription task.
Reference :  Link ¶

⚼ Request

DELETE:  /transcriptions/{id}
{
id: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Transcriptions_Submit (new)
Description :  Submits a new transcription job.
Reference :  Link ¶

⚼ Request

POST:  /transcriptions:submit
{
api-version: string ,
transcription:
{
self: string ,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
lastActionDateTime: string ,
contentUrls:
[
string ,
]
,
model:
{
self: string ,
}
,
project:
{
self: string ,
}
,
links:
{
files: string ,
}
,
properties:
{
wordLevelTimestampsEnabled: boolean ,
displayFormWordLevelTimestampsEnabled: boolean ,
channels:
[
integer ,
]
,
punctuationMode: enum ,
profanityFilterMode: enum ,
destinationContainerUrl: string ,
timeToLiveHours: integer ,
languageIdentification:
{
candidateLocales:
[
string ,
]
,
speechModelMapping: object ,
mode: enum ,
}
,
diarization:
{
enabled: boolean ,
maxSpeakers: integer ,
}
,
error:
{
code: string ,
message: string ,
}
,
durationMilliseconds: integer ,
}
,
contentContainerUrl: string ,
dataset:
{
self: string ,
}
,
status: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
}
,
$schema:
{
self: string ,
displayName: string ,
description: string ,
customProperties: object ,
locale: string ,
createdDateTime: string ,
lastActionDateTime: string ,
contentUrls:
[
string ,
]
,
model:
{
self: string ,
}
,
project:
{
self: string ,
}
,
links:
{
files: string ,
}
,
properties:
{
wordLevelTimestampsEnabled: boolean ,
displayFormWordLevelTimestampsEnabled: boolean ,
channels:
[
integer ,
]
,
punctuationMode: enum ,
profanityFilterMode: enum ,
destinationContainerUrl: string ,
timeToLiveHours: integer ,
languageIdentification:
{
candidateLocales:
[
string ,
]
,
speechModelMapping: object ,
mode: enum ,
}
,
diarization:
{
enabled: boolean ,
maxSpeakers: integer ,
}
,
error:
{
code: string ,
message: string ,
}
,
durationMilliseconds: integer ,
}
,
contentContainerUrl: string ,
dataset:
{
self: string ,
}
,
status: enum ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Transcriptions_ListFiles (new)
Description :  Gets the files of the transcription identified by the given ID.
Reference :  Link ¶

⚼ Request

GET:  /transcriptions/{id}/files
{
id: string ,
sasLifetimeMinutes: integer ,
skip: integer ,
top: integer ,
filter: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
values:
[
{
self: string ,
name: string ,
kind: enum ,
links:
{
contentUrl: string ,
}
,
properties:
{
size: integer ,
durationMilliseconds: integer ,
}
,
createdDateTime: string ,
}
,
]
,
@nextLink: string ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Transcriptions_GetFile (new)
Description :  Gets one specific file (identified with fileId) from a transcription (identified with id).
Reference :  Link ¶

⚼ Request

GET:  /transcriptions/{id}/files/{fileId}
{
id: string ,
fileId: string ,
sasLifetimeMinutes: integer ,
api-version: string ,
}

⚐ Response (200)

{
self: string ,
name: string ,
kind: enum ,
links:
{
contentUrl: string ,
}
,
properties:
{
size: integer ,
durationMilliseconds: integer ,
}
,
createdDateTime: string ,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
WebHooks_List (new)
Description :  Gets the list of web hooks for the authenticated subscription.
Reference :  Link ¶

⚼ Request

GET:  /webhooks
{
skip: integer ,
top: integer ,
filter: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
values:
[
{
self: string ,
displayName: string ,
description: string ,
customProperties: object ,
properties:
{
apiVersion: string ,
secret: string ,
error:
{
code: string ,
message: string ,
}
,
}
,
webUrl: string ,
events:
{
datasetCreation: boolean ,
datasetProcessing: boolean ,
datasetCompletion: boolean ,
datasetDeletion: boolean ,
modelCreation: boolean ,
modelProcessing: boolean ,
modelCompletion: boolean ,
modelDeletion: boolean ,
evaluationCreation: boolean ,
evaluationProcessing: boolean ,
evaluationCompletion: boolean ,
evaluationDeletion: boolean ,
transcriptionCreation: boolean ,
transcriptionProcessing: boolean ,
transcriptionCompletion: boolean ,
transcriptionDeletion: boolean ,
endpointCreation: boolean ,
endpointProcessing: boolean ,
endpointCompletion: boolean ,
endpointDeletion: boolean ,
ping: boolean ,
challenge: boolean ,
}
,
createdDateTime: string ,
lastActionDateTime: string ,
status: enum ,
links:
{
test: string ,
ping: string ,
}
,
}
,
]
,
@nextLink: string ,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
WebHooks_Create (new)
Description :  If the property secret in the configuration is present and contains a non-empty string, it will be used to create a SHA256 hash of the payload with the secret as HMAC key. This hash will be set as X-MicrosoftSpeechServices-Signature header when calling back into the registered URL. When calling back into the registered URL, the request will contain a X-MicrosoftSpeechServices-Event header containing one of the registered event types. There will be one request per registered event type. After successfully registering the web hook, it will not be usable until a challenge/response is completed. To do this, a request with the event type challenge will be made with a query parameter called validationToken. Respond to the challenge with a 200 OK containing the value of the validationToken query parameter as the response body. When the challenge/response is successfully completed, the web hook will begin receiving events.
Reference :  Link ¶

⚼ Request

POST:  /webhooks
{
api-version: string ,
webHook:
{
self: string ,
displayName: string ,
description: string ,
customProperties: object ,
properties:
{
apiVersion: string ,
secret: string ,
error:
{
code: string ,
message: string ,
}
,
}
,
webUrl: string ,
events:
{
datasetCreation: boolean ,
datasetProcessing: boolean ,
datasetCompletion: boolean ,
datasetDeletion: boolean ,
modelCreation: boolean ,
modelProcessing: boolean ,
modelCompletion: boolean ,
modelDeletion: boolean ,
evaluationCreation: boolean ,
evaluationProcessing: boolean ,
evaluationCompletion: boolean ,
evaluationDeletion: boolean ,
transcriptionCreation: boolean ,
transcriptionProcessing: boolean ,
transcriptionCompletion: boolean ,
transcriptionDeletion: boolean ,
endpointCreation: boolean ,
endpointProcessing: boolean ,
endpointCompletion: boolean ,
endpointDeletion: boolean ,
ping: boolean ,
challenge: boolean ,
}
,
createdDateTime: string ,
lastActionDateTime: string ,
status: enum ,
links:
{
test: string ,
ping: string ,
}
,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
}
,
$schema:
{
self: string ,
displayName: string ,
description: string ,
customProperties: object ,
properties:
{
apiVersion: string ,
secret: string ,
error:
{
code: string ,
message: string ,
}
,
}
,
webUrl: string ,
events:
{
datasetCreation: boolean ,
datasetProcessing: boolean ,
datasetCompletion: boolean ,
datasetDeletion: boolean ,
modelCreation: boolean ,
modelProcessing: boolean ,
modelCompletion: boolean ,
modelDeletion: boolean ,
evaluationCreation: boolean ,
evaluationProcessing: boolean ,
evaluationCompletion: boolean ,
evaluationDeletion: boolean ,
transcriptionCreation: boolean ,
transcriptionProcessing: boolean ,
transcriptionCompletion: boolean ,
transcriptionDeletion: boolean ,
endpointCreation: boolean ,
endpointProcessing: boolean ,
endpointCompletion: boolean ,
endpointDeletion: boolean ,
ping: boolean ,
challenge: boolean ,
}
,
createdDateTime: string ,
lastActionDateTime: string ,
status: enum ,
links:
{
test: string ,
ping: string ,
}
,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
WebHooks_Get (new)
Description :  Gets the web hook identified by the given ID.
Reference :  Link ¶

⚼ Request

GET:  /webhooks/{id}
{
id: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
self: string ,
displayName: string ,
description: string ,
customProperties: object ,
properties:
{
apiVersion: string ,
secret: string ,
error:
{
code: string ,
message: string ,
}
,
}
,
webUrl: string ,
events:
{
datasetCreation: boolean ,
datasetProcessing: boolean ,
datasetCompletion: boolean ,
datasetDeletion: boolean ,
modelCreation: boolean ,
modelProcessing: boolean ,
modelCompletion: boolean ,
modelDeletion: boolean ,
evaluationCreation: boolean ,
evaluationProcessing: boolean ,
evaluationCompletion: boolean ,
evaluationDeletion: boolean ,
transcriptionCreation: boolean ,
transcriptionProcessing: boolean ,
transcriptionCompletion: boolean ,
transcriptionDeletion: boolean ,
endpointCreation: boolean ,
endpointProcessing: boolean ,
endpointCompletion: boolean ,
endpointDeletion: boolean ,
ping: boolean ,
challenge: boolean ,
}
,
createdDateTime: string ,
lastActionDateTime: string ,
status: enum ,
links:
{
test: string ,
ping: string ,
}
,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
WebHooks_Update (new)
Description :  If the property secret in the configuration is omitted or contains an empty string, future callbacks won't contain X-MicrosoftSpeechServices-Signature headers. If the property contains a non-empty string, it will be used to create a SHA256 hash of the payload with the secret as HMAC key. This hash will be set as X-MicrosoftSpeechServices-Signature header when calling back into the registered URL. If the URL changes, the web hook will stop receiving events until a challenge/response is completed. To do this, a request with the event type challenge will be made with a query parameter called validationToken. Respond to the challenge with a 200 OK containing the value of the validationToken query parameter as the response body. When the challenge/response is successfully completed, the web hook will begin receiving events.
Reference :  Link ¶

⚼ Request

PATCH:  /webhooks/{id}
{
id: string ,
api-version: string ,
webHookUpdate:
{
displayName: string ,
description: string ,
webUrl: string ,
customProperties: object ,
properties:
{
secret: string ,
}
,
events:
{
datasetCreation: boolean ,
datasetProcessing: boolean ,
datasetCompletion: boolean ,
datasetDeletion: boolean ,
modelCreation: boolean ,
modelProcessing: boolean ,
modelCompletion: boolean ,
modelDeletion: boolean ,
evaluationCreation: boolean ,
evaluationProcessing: boolean ,
evaluationCompletion: boolean ,
evaluationDeletion: boolean ,
transcriptionCreation: boolean ,
transcriptionProcessing: boolean ,
transcriptionCompletion: boolean ,
transcriptionDeletion: boolean ,
endpointCreation: boolean ,
endpointProcessing: boolean ,
endpointCompletion: boolean ,
endpointDeletion: boolean ,
ping: boolean ,
challenge: boolean ,
}
,
}
,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
self: string ,
displayName: string ,
description: string ,
customProperties: object ,
properties:
{
apiVersion: string ,
secret: string ,
error:
{
code: string ,
message: string ,
}
,
}
,
webUrl: string ,
events:
{
datasetCreation: boolean ,
datasetProcessing: boolean ,
datasetCompletion: boolean ,
datasetDeletion: boolean ,
modelCreation: boolean ,
modelProcessing: boolean ,
modelCompletion: boolean ,
modelDeletion: boolean ,
evaluationCreation: boolean ,
evaluationProcessing: boolean ,
evaluationCompletion: boolean ,
evaluationDeletion: boolean ,
transcriptionCreation: boolean ,
transcriptionProcessing: boolean ,
transcriptionCompletion: boolean ,
transcriptionDeletion: boolean ,
endpointCreation: boolean ,
endpointProcessing: boolean ,
endpointCompletion: boolean ,
endpointDeletion: boolean ,
ping: boolean ,
challenge: boolean ,
}
,
createdDateTime: string ,
lastActionDateTime: string ,
status: enum ,
links:
{
test: string ,
ping: string ,
}
,
}
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
WebHooks_Delete (new)
Description :  Deletes the web hook identified by the given ID.
Reference :  Link ¶

⚼ Request

DELETE:  /webhooks/{id}
{
id: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
WebHooks_Ping (new)
Description :  The request body of the POST request sent to the registered web hook URL is of the same shape as in the GET request for a specific hook. The Swagger Schema ID of the model is WebHookV3. The request will contain a X-MicrosoftSpeechServices-Event header with the value ping. If the web hook was registered with a secret it will contain a X-MicrosoftSpeechServices-Signature header with an SHA256 hash of the payload with the secret as HMAC key. The hash is base64 encoded.
Reference :  Link ¶

⚼ Request

POST:  /webhooks/{id}:ping
{
id: string ,
api-version: string ,
}

⚐ Response (202)

{
retry-after: integer ,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
WebHooks_Test (new)
Description :  The payload will be generated from the last entity that would have invoked the web hook. If no entity is present for none of the registered event types, the POST will respond with 204. If a test request can be made, it will respond with 200. The request will contain a X-MicrosoftSpeechServices-Event header with the respective registered event type. If the web hook was registered with a secret it will contain a X-MicrosoftSpeechServices-Signature header with an SHA256 hash of the payload with the secret as HMAC key. The hash is base64 encoded.
Reference :  Link ¶

⚼ Request

POST:  /webhooks/{id}:test
{
id: string ,
api-version: string ,
}

⚐ Response (202)

{
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}
Transcriptions_Transcribe (new)
Description :  Synchronous transcription of an audio file.
Reference :  Link ¶

⚼ Request

POST:  /transcriptions:transcribe
{
api-version: string ,
audio: file ,
definition: string ,
}

⚐ Response (200)

{
durationMilliseconds: integer ,
combinedPhrases:
[
{
channel: integer ,
text: string ,
}
,
]
,
phrases:
[
{
channel: integer ,
speaker: integer ,
offsetMilliseconds: integer ,
durationMilliseconds: integer ,
text: string ,
words:
[
{
text: string ,
offsetMilliseconds: integer ,
durationMilliseconds: integer ,
}
,
]
,
locale: string ,
confidence: number ,
}
,
]
,
}

⚐ Response (default)

{
message: string ,
target: string ,
innerError:
{
message: string ,
target: string ,
innerError: string ,
code: enum ,
details: object ,
}
,
code: enum ,
details:
[
string ,
]
,
}